<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>付款申请 - 消防工程集团</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            background: #f5f5f5;
            padding-bottom: 20px;
        }
    </style>
</head>
<body>
    <!-- Header -->
    <div class="bg-gradient-to-r from-blue-600 to-blue-700 text-white px-4 py-4 flex items-center">
        <a href="home.html" class="mr-3">
            <i class="fas fa-arrow-left text-xl"></i>
        </a>
        <h1 class="text-lg font-semibold">付款申请</h1>
    </div>

    <!-- Form -->
    <div class="bg-white mx-4 mt-4 rounded-xl shadow-sm p-4 mb-4">
        <div class="space-y-4">
            <!-- Purchase Order -->
            <div>
                <label class="block text-sm font-semibold text-gray-700 mb-2">
                    <i class="fas fa-file-invoice text-blue-500 mr-1"></i>关联采购单 <span class="text-red-500">*</span>
                </label>
                <select class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <option value="">请选择采购单</option>
                    <option value="1">CG20240115001 - 消防栓采购</option>
                    <option value="2">CG20240114002 - 灭火器采购</option>
                    <option value="3">CG20240113003 - 消防管道采购</option>
                </select>
                <div class="mt-2 text-xs text-gray-500 bg-gray-50 p-2 rounded">
                    <div>采购单号: CG20240115001</div>
                    <div>采购金额: ¥50,000.00</div>
                    <div>已付款: ¥20,000.00</div>
                    <div>待付款: ¥30,000.00</div>
                </div>
            </div>

            <!-- Payment Amount -->
            <div>
                <label class="block text-sm font-semibold text-gray-700 mb-2">
                    <i class="fas fa-yen-sign text-blue-500 mr-1"></i>付款金额 <span class="text-red-500">*</span>
                </label>
                <input type="number" placeholder="请输入付款金额（元）" 
                       class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-500">
            </div>

            <!-- Payment Method -->
            <div>
                <label class="block text-sm font-semibold text-gray-700 mb-2">
                    <i class="fas fa-credit-card text-blue-500 mr-1"></i>付款方式 <span class="text-red-500">*</span>
                </label>
                <select class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <option value="">请选择付款方式</option>
                    <option value="bank">银行转账</option>
                    <option value="acceptance">银行承兑</option>
                    <option value="cash">现金</option>
                    <option value="check">支票</option>
                </select>
            </div>

            <!-- Payment Date -->
            <div>
                <label class="block text-sm font-semibold text-gray-700 mb-2">
                    <i class="fas fa-calendar text-blue-500 mr-1"></i>付款日期 <span class="text-red-500">*</span>
                </label>
                <input type="date" 
                       class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-500">
            </div>

            <!-- Bank Info -->
            <div>
                <label class="block text-sm font-semibold text-gray-700 mb-2">
                    <i class="fas fa-university text-blue-500 mr-1"></i>收款账户信息
                </label>
                <input type="text" placeholder="开户银行" 
                       class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 mb-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
                <input type="text" placeholder="账户名称" 
                       class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 mb-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
                <input type="text" placeholder="账号" 
                       class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-500">
            </div>

            <!-- Invoice Info -->
            <div>
                <label class="block text-sm font-semibold text-gray-700 mb-2">
                    <i class="fas fa-receipt text-blue-500 mr-1"></i>票据信息
                </label>
                <input type="text" placeholder="发票号码" 
                       class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 mb-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
                <input type="text" placeholder="开票日期" 
                       class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-500">
            </div>

            <!-- Project -->
            <div>
                <label class="block text-sm font-semibold text-gray-700 mb-2">
                    <i class="fas fa-building text-blue-500 mr-1"></i>关联项目 <span class="text-red-500">*</span>
                </label>
                <select class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <option value="">请选择项目</option>
                    <option value="1">消防工程A项目</option>
                    <option value="2">消防工程B项目</option>
                    <option value="3">消防工程C项目</option>
                </select>
            </div>

            <!-- Remark -->
            <div>
                <label class="block text-sm font-semibold text-gray-700 mb-2">
                    <i class="fas fa-comment text-blue-500 mr-1"></i>备注说明
                </label>
                <textarea placeholder="请输入备注信息" rows="3" 
                          class="w-full border border-gray-300 rounded-lg px-4 py-3 text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-500"></textarea>
            </div>

            <!-- Invoice Attachment -->
            <div>
                <label class="block text-sm font-semibold text-gray-700 mb-2">
                    <i class="fas fa-file-invoice-dollar text-blue-500 mr-1"></i>发票附件
                </label>
                <div class="border-2 border-dashed border-gray-300 rounded-lg p-4 text-center">
                    <i class="fas fa-camera text-3xl text-gray-400 mb-2"></i>
                    <div class="text-sm text-gray-500">上传发票照片</div>
                    <div class="text-xs text-gray-400 mt-1">支持JPG、PNG、PDF格式</div>
                </div>
            </div>
        </div>
    </div>

    <!-- Submit Button -->
    <div class="px-4 mb-6">
        <button class="w-full bg-gradient-to-r from-blue-600 to-blue-700 text-white py-4 rounded-xl font-semibold text-lg shadow-lg active:scale-95 transition-transform">
            <i class="fas fa-paper-plane mr-2"></i>
            提交申请
        </button>
    </div>
</body>
</html>

